package com.fc.v2.mapper.auto;

import com.fc.v2.model.auto.Carousel;
import com.fc.v2.model.auto.CarouselExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 首页轮播图片表 CarouselMapper
 * @author fuce_自动生成
 * @email ${email}
 * @date 2021-06-08 22:10:58
 */
public interface CarouselMapper {
      	   	      	      	      	      	      
    long countByExample(CarouselExample example);

    int deleteByExample(CarouselExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(Carousel record);

    int insertSelective(Carousel record);

    List<Carousel> selectByExample(CarouselExample example);
		
    Carousel selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") Carousel record, @Param("example") CarouselExample example);

    int updateByExample(@Param("record") Carousel record, @Param("example") CarouselExample example); 
		
    int updateByPrimaryKeySelective(Carousel record);

    int updateByPrimaryKey(Carousel record);

    List<Carousel> getAllCarousel();

    int updateStatus(Carousel carousel);
  	  	
}